﻿Partial Public Class Page
    Inherits UserControl
	Dim _BindingObject As New BindingObject("This is the front", "This is the back")

    Public Sub New()
        InitializeComponent()
    End Sub

	Private Sub Page_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
		'TestingFlipPanel.DataContext = _BindingObject
	End Sub

End Class

Public Class BindingObject
	Private _FrontText As String
	Private _BackText As String

	Public Sub New(ByVal frontText As String, ByVal backText As String)
		MyBase.New()
		_FrontText = frontText
		_BackText = backText
	End Sub

	Public Property FrontText() As String
		Get
			Return _FrontText
		End Get
		Set(ByVal value As String)
			_FrontText = value
		End Set
	End Property
	Public Property BackText() As String
		Get
			Return _BackText
		End Get
		Set(ByVal value As String)
			_BackText = value
		End Set
	End Property

End Class